package com.xunshibao.entity.message;

public class MsgRelation implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -3204147213726974308L;
	private Long relationId;
	private Long userid;
	private Long msgid;
	private Integer catid;
	private Integer typeid;
	private String status;
	private Boolean isown;
	private Integer createDate;
	private Integer activedate;
	private Integer modifydate;

	public MsgRelation() {
		super();
	}

	public MsgRelation(Long msgid) {
		super();
		this.msgid = msgid;
	} 
	
	public MsgRelation(Long msgid, Long userid) {
		super();
		this.msgid = msgid;
		this.userid = userid;
	} 
	
	public MsgRelation(Long relationId, Long msgid, String status) {
		super();
		this.relationId = relationId;
		this.msgid = msgid;
		this.status = status;
	}

	public MsgRelation(Long userid, Long msgid, Integer catid, Integer typeid, String status, Boolean isown, Integer createDate, Integer activedate,
			Integer modifydate) {
		super();
		this.userid = userid;
		this.msgid = msgid;
		this.catid = catid;
		this.typeid = typeid;
		this.status = status;
		this.isown = isown;
		this.createDate = createDate;
		this.activedate = activedate;
		this.modifydate = modifydate;
	}

	public Long getRelationId() {
		return relationId;
	}

	public void setRelationId(Long relationId) {
		this.relationId = relationId;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Long getMsgid() {
		return msgid;
	}

	public void setMsgid(Long msgid) {
		this.msgid = msgid;
	}

	public Integer getCatid() {
		return catid;
	}

	public void setCatid(Integer catid) {
		this.catid = catid;
	}

	public Integer getTypeid() {
		return typeid;
	}

	public void setTypeid(Integer typeid) {
		this.typeid = typeid;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Boolean getIsown() {
		return isown;
	}

	public void setIsown(Boolean isown) {
		this.isown = isown;
	}

	public Integer getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Integer createDate) {
		this.createDate = createDate;
	}

	public Integer getActivedate() {
		return activedate;
	}

	public void setActivedate(Integer activedate) {
		this.activedate = activedate;
	}

	public Integer getModifydate() {
		return modifydate;
	}

	public void setModifydate(Integer modifydate) {
		this.modifydate = modifydate;
	}

}